package com.knife.message.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.knife.common.entity.BaseDto;
import com.knife.oauth.domain.entity.IamUser;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author tianhao.luo@hand-china.com
 * @version 1.0
 * @date 2022年06月12日 星期日 4:50 下午
 * @description
 * @since 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KnifeMessage extends BaseDto {
    @TableId
    private Integer messageId;

    private Integer templateId;

    private String subject;

    private String content;

    @TableField(exist = false)
    private List<Long> receiverIdList;


    @TableField(exist = false)
    private List<IamUser> receiverList;
}
